vcLineSet
vcLineSet is used for creating and reading line type geometry, which is a set of two or more points.
See in: Overview
Module: vcGeometry
Parent: vcGeometrySet
Children -
Referenced by: -
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| LineCount | Integer | R | Gets the total number of lines in the set. |
| LineWidth | Real | RW | Gets or sets the width of each line in the set. |
| Lines | list[list[vcVector]] | R | Gets a list of lines where each line is a list of position vectors for its points. |
Methods
Learn how to use methods here. The methods are also inherited from the parent class.
| Name | Return Type | Parameters | Description |
| addLine | None | List[vcVector] points | Creates a new line set using a list of given points.See moreParameters: points (list[vcVector]): List of points for the line. Returns: None |
| deleteLine | None | Integer lineIndex | Deletes a line at a given index from the set.See moreParameters: lineIndex (int): The index of the line to delete. Exceptions: IndexError: When an index is out of bounds. Returns: None |
| getLine | list[vcVector] | Integer lineIndex | Gets a list of position vectors for each point of a line at a given index in set.See moreParameters: lineIndex (int): The index of the line. Exceptions: IndexError: When an index is out of bounds. Returns: list[vcVector]: Line positions in a list. |
| getLinePointCount | Integer | Integer lineIndex | Gets the number of points in a line at a given index in the set.See moreParameters: lineIndex (int): The index of the line. Exceptions: IndexError: When an index is out of bounds. Returns: int: The number of points in the line. |
| update | None | None | Updates the line set and its bounding box. |